﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DynCMS.NET.Core.Entities
{
    /// <summary>
    /// Section of text on web page
    /// </summary>
    public class Section : Base.EntityWithAutoId
    {
        /// <summary>
        /// Section name
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// Gets or sets the contents.
        /// </summary>
        /// <value>The contents.</value>
        public string Contents
        {
            get;
            set;
        }

        /// <summary>
        /// List of pages where section is shown
        /// </summary>
        public virtual List<Page> Pages { get; set; }
    }
}